package close.mazegame.art.tileset;

import close.mazegame.art.Art;

import com.badlogic.gdx.graphics.g2d.TextureRegion;

public class SimpleWallTileSet extends WallTileSet {
	
	private TextureRegion[] wallTextures;
	
	public SimpleWallTileSet(String filename, int tileSize, int row) {
		wallTextures = Art.splitRow(filename, tileSize, tileSize, row);
		
		assert wallTextures.length == 8;
	}

	@Override
	public TextureRegion getTexture(int mask, int corner) {
		return wallTextures[mask];
	}

}
